//
//  NYHeaderView.h
//  NOAHWM
//
//  Created by Ryan on 13-6-21.
//  Copyright (c) 2013年 Ryan. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol NYHeaderViewDelegate;

@interface NYHeaderView : UIView

@property (nonatomic, retain) IBOutlet UIButton *leftButton;
@property (nonatomic, retain) IBOutlet UIButton *rightButton;
@property (nonatomic, retain) IBOutlet UIButton *extraButton;
@property (nonatomic, retain) IBOutlet UILabel *titleLabel;

@property (nonatomic, assign) id<NYHeaderViewDelegate> delegate;

- (IBAction)leftButtonClicked:(id)sender;
- (IBAction)rightButtonClicked:(id)sender;
- (IBAction)extraButtonClicked:(id)sender;
@end

@protocol NYHeaderViewDelegate <NSObject>

- (void)didLeftItemTapped;
- (void)didRightItemTapped;
- (void)didExtraItemTapped;
@end